package com.ndp.fb.rdb.model.adpublishcondition;

import com.ndp.fb.rdb.annotation.Id;
import com.ndp.fb.rdb.annotation.NoSave;
import com.ndp.fb.rdb.annotation.Table;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Evan on 2015/3/24 15:22.
 */
@Setter
@Getter
@NoArgsConstructor
@Table("ad_publish_condition_detail")
public class AdPublishConditionDetail  implements Serializable {
    @Id
    private Long id;

    //column:condition_id
    private Long conditionId;

    //column:page_id
    private Long pageId;

    //column:platform
    private String platform;
    @NoSave
    private List<RegionAndPrice> regionAndPrices;

    //column:age
    private String age;

    //cloumn:sex
    private Integer sex;
    @NoSave
    private List<AdPublishConditionAccount> accounts;

    //column:price_limit
    private String priceLimit;

    //column:conn_obj_simple_name
    private String connObjSimpleName;
}
